Resource URL: /platform/<<version=5>>/cluster/nodes/<LNN>/sleds

    Overview: This resource applies the standard collection pattern to
              individual nodes.  LNN in the resource path is the node lnn ID.

     Methods: GET

********************************************************************************

Method GET: Get detailed information for all sleds in this node.
Equivalent to
            /5/cluster/nodes/<lnn>/sleds/all.

       URL: GET /platform/<<version=5>>/cluster/nodes/<LNN>/sleds

Query arguments:
timeout=<number> Request timeout

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "type": "object", 
      "properties": {
        "total": {
          "type": "integer", 
          "description": "The total number of nodes responding."
        }, 
        "nodes": {
          "items": {
            "type": "object", 
            "description": "Information about this node's sleds.", 
            "properties": {
              "sleds": {
                "items": {
                  "type": "object", 
                  "description": "Information about a sled in node.", 
                  "properties": {
                    "is_removeable": {
                      "required": true, 
                      "type": "boolean", 
                      "description": "Boolean to indicate whether or not the sled is safe to remove."
                    }, 
                    "sled_state": {
                      "enum": [
                        "Present", 
                        "Absent", 
                        "Unknown"
                      ], 
                      "description": "The state of physical presence of a sled.", 
                      "minLength": 6, 
                      "required": true, 
                      "pattern": "^[a-zA-Z]+$", 
                      "maxLength": 7, 
                      "type": "string"
                    }, 
                    "sled_letter": {
                      "description": "The sled letter which OneFS uses to refer to this sled in the node.", 
                      "minLength": 1, 
                      "required": true, 
                      "pattern": "^[a-eA-E]$", 
                      "maxLength": 1, 
                      "type": "string"
                    }
                  }
                }, 
                "type": "array", 
                "description": "List of the sleds in this node."
              }, 
              "status": {
                "required": false, 
                "minimum": 0, 
                "type": "integer", 
                "description": "Status of the HTTP response from this node if not 200.  If 200, this field does not appear.", 
                "maximum": 4294967295
              }, 
              "lnn": {
                "minimum": 0, 
                "type": "integer", 
                "description": "Logical node number of the node reporting this information.", 
                "maximum": 4294967295
              }, 
              "id": {
                "minimum": 0, 
                "type": "integer", 
                "description": "Node ID of the node reporting this information.", 
                "maximum": 4294967295
              }, 
              "error": {
                "required": false, 
                "type": "string", 
                "description": "Error message, if the HTTP status returned from this node was not 200."
              }
            }
          }, 
          "type": "array", 
          "description": "The responses from the individual nodes involved in this request."
        }, 
        "errors": {
          "items": {
            "type": "object", 
            "properties": {
              "status": {
                "minimum": 0, 
                "type": "integer", 
                "description": "HTTP Status code returned by this node.", 
                "maximum": 4294967295
              }, 
              "message": {
                "type": "string", 
                "description": "More detailed description of the error."
              }, 
              "code": {
                "type": "string", 
                "description": "The general meaning of the status code."
              }, 
              "lnn": {
                "minimum": 0, 
                "type": "integer", 
                "description": "Logical node number of the node reporting this error.", 
                "maximum": 4294967295
              }
            }
          }, 
          "type": "array", 
          "description": "A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors."
        }
      }
    }
  ]
}
